﻿using System;
using CkSoftware.GroupMe.Sdk.Groups.Commands;

namespace CkSoftware.GroupMe.Sdk.Groups.Dao
{
	/// <summary>
	/// The data object for the not added members in the <see cref="GroupAddMemberResultsCommand" />.
	/// </summary>
	public class GroupMemberAddedMissingData
	{
		/// <summary>
		/// Instantiates a new <see cref="GroupMemberAddedMissingData" /> object.
		/// </summary>
		/// <param name="data">The data of the missing-member.</param>
		public GroupMemberAddedMissingData(AddMemberData data)
		{
			Guid = data.Guid;
			Nickname = data.Nickname;
			Email = data.Email;
			PhoneNumber = data.PhoneNumber;
			UserId = data.UserId;
		}

		/// <summary>
		/// The email of the not-added user.
		/// </summary>
		public string Email { get; set; }

		/// <summary>
		/// The guid of the not-added user.
		/// </summary>
		public Guid Guid { get; set; }

		/// <summary>
		/// The nickname of the not-added user.
		/// </summary>
		public string Nickname { get; set; }

		/// <summary>
		/// The phonenumber of the not-added user.
		/// </summary>
		public string PhoneNumber { get; set; }

		/// <summary>
		/// The userId of the not-added user.
		/// </summary>
		public string UserId { get; set; }
	}
}